package com.esbi.projectwebsocket.ECharts;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ChartController {

    @GetMapping("/echartsData")
    public String getEchartsData() {
        return EchartsExample.generateBarChartData();
    }
    @GetMapping("/test001")
    public String test001() {
        return "success";
    }
}